package com.wish.g04.financing.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.wish.g04.base.entity.CwReceiptPlan;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 收款计划表
 * @author tyd
 * @since 2022-05-31
 */
@Data
public class ReceiptPlanDTO extends CwReceiptPlan implements Serializable {

    /**
     * 应收收款日期-结尾
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime endCollectionDate;

    /**
     * 实际收款日期-结尾
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime endRealCollectionDate;

}
